package com.dt76.smallloanbackendservice.mapper.lhuaw;

import com.dt76.smallloanbackendservice.pojo.lhuaw.SystemMessage;
import com.dt76.smallloanbackendservice.pojo.lhuaw.TextMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TextMessageMapper {
    //系统消息的查询
    List<TextMessage> getAllText();
    //动态查询+分页
    List<TextMessage> qryConditionPageAllText(
            @Param("start") int start,
            @Param("size") int size,
            @Param("tPublisher") String tPublisher);
    int qryConditionCountText(@Param("tPublisher") String tPublisher);
    //删除
    void deleteText(@Param("tId") int tId);

}
